Skip to content

feat(pm-stack): the app's look is the owner's to choose: themes, typefaces, size and spacing - #14379

Merged
dezren39 merged 3 commits into
mainfrom
claude/pm-appearance-1124
Nov 24, 2026
Merged

dezren39 merged 3 commits into
mainfrom
claude/pm-appearance-1124

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

What

The app's look is the owner's to choose, on a new screen: More → Appearance.

  • Colours: 33 themes. Slate and Paper as before; eight true black ones (page and panels #000000, for OLED); three high contrast ones (text at 15 to 1 or more, heavier edges); thirteen dark and seven light palettes. The app follows the system between a theme for light and one for dark, each chosen, or wears one always.
  • Typeface: 22. The device's own sans, serif and fixed-width, and 19 the app carries (SIL Open Font License, each licence beside its file), four of them made to be easy to read.
  • Size and spacing: seven text sizes, five amounts of room around things, four kinds of corner, and whether anything moves.

Choices are kept on the device and are on the page before it is first drawn.

How

  • Each choice is one attribute on the root element, set by public/look.js; themes.css and look.css do the rest. Nothing writes a style, so the content policy is unchanged.
  • app.css is now drawn only from settings: colours through the theme's variables, padding/margins/gaps through --space, corners through --round, edges through --edge. With defaults the page is what it was.
  • One list of the app's files: public/files.json. The laptop's service, the Worker, its build and the service worker all read it (they were four lists a test held together). A new file is one line. The service worker reads the list when installed, keeps what the page needs to open, and keeps a typeface when it is first used.

Checked

  • 594 tests (15 new in test/look.test.ts, 3 new for the service worker, the file-list test rewritten around the one list and running the real build).
  • Every theme is held to contrast rules by the WCAG formula; a true-black theme must be #000000.
  • 34 planted faults, each caught.
  • Real Worker runtime: 56 smoke checks pass, including fetching all 31 files as the signed-in owner and comparing each with disk.
  • Looked at in Chromium on the laptop at a phone's width, driven through the screen: default look unchanged, Black + Inter gives rgb(0, 0, 0) and a #000000 bar colour, all 22 typeface files load, choices are kept.

Generated by Claude Code


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…2 typefaces, size, spacing, corners

Themes (8 true black, 3 high contrast), typefaces carried by the app
under the Open Font License, text size, room around things, corners and
movement, chosen on a new Appearance screen and kept on the device.
Each choice is one attribute on the root element; nothing writes a
style, so the content policy is unchanged.

The app's files are now named in one list (public/files.json) that the
laptop's service, the Worker, its build and the service worker all go
by, so a new file is one line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
…d the record of it

Rows of choices on the Appearance screen wrap instead of scrolling off
the side, pills go square with square corners, and the smoke run checks
the Worker serves every file of the app once the owner is signed in.
README, design record and roadmap row for the feature.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7ea723ab-04c6-4b33-af55-be7d78c3831e
Commits

Reviewing files that changed from the base of the PR and between e472809 and 069801c.

Files ignored due to path filters: 22

  • pm-stack/console/public/fonts/atkinson-hyperlegible-mono.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/atkinson-hyperlegible-next.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/bitter.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/comic-neue-400.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/comic-neue-700.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/figtree.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/fira-code.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/ibm-plex-mono-400.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/ibm-plex-mono-600.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/ibm-plex-sans.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/inter.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/jetbrains-mono.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/lexend.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/literata.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/manrope.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/nunito.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/opendyslexic-400.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/opendyslexic-700.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/public-sans.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/source-sans-3.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/source-serif-4.woff2 is excluded by !**/*.woff2
  • pm-stack/console/public/fonts/space-grotesk.woff2 is excluded by !**/*.woff2
Files selected for processing: 38

  • doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core.md
  • planning/roadmaps/pm-stack.md
  • pm-stack/console/README.md
  • pm-stack/console/edge/build.mjs
  • pm-stack/console/edge/src/edge.ts
  • pm-stack/console/public/app.css
  • pm-stack/console/public/app.js
  • pm-stack/console/public/files.json
  • pm-stack/console/public/fonts/licences/atkinson-hyperlegible-mono.txt
  • pm-stack/console/public/fonts/licences/atkinson-hyperlegible-next.txt
  • pm-stack/console/public/fonts/licences/bitter.txt
  • pm-stack/console/public/fonts/licences/comic-neue.txt
  • pm-stack/console/public/fonts/licences/figtree.txt
  • pm-stack/console/public/fonts/licences/fira-code.txt
  • pm-stack/console/public/fonts/licences/ibm-plex-mono.txt
  • pm-stack/console/public/fonts/licences/ibm-plex-sans.txt
  • pm-stack/console/public/fonts/licences/inter.txt
  • pm-stack/console/public/fonts/licences/jetbrains-mono.txt
  • pm-stack/console/public/fonts/licences/lexend.txt
  • pm-stack/console/public/fonts/licences/literata.txt
  • pm-stack/console/public/fonts/licences/manrope.txt
  • pm-stack/console/public/fonts/licences/nunito.txt
  • pm-stack/console/public/fonts/licences/opendyslexic.txt
  • pm-stack/console/public/fonts/licences/public-sans.txt
  • pm-stack/console/public/fonts/licences/source-sans-3.txt
  • pm-stack/console/public/fonts/licences/source-serif-4.txt
  • pm-stack/console/public/fonts/licences/space-grotesk.txt
  • pm-stack/console/public/index.html
  • pm-stack/console/public/look.css
  • pm-stack/console/public/look.js
  • pm-stack/console/public/sw.js
  • pm-stack/console/public/themes.css
  • pm-stack/console/scripts/edge-smoke.ts
  • pm-stack/console/src/server.ts
  • pm-stack/console/test/console.test.ts
  • pm-stack/console/test/look.test.ts
  • pm-stack/console/test/sw.test.ts
  • pm-stack/console/tsconfig.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 1ca2bc4 into main Nov 24, 2026
2 checks passed
@dezren39
dezren39 deleted the claude/pm-appearance-1124 branch November 24, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants